package com.sgcc.nfc.lock.domain.repository

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.model.LoginResult
import com.sgcc.nfc.lock.domain.model.UserProfile

interface AuthRepository {
    suspend fun login(username: String, password: String): NetworkResult<LoginResult>
    suspend fun logout(): NetworkResult<Unit>
    suspend fun getProfile(): NetworkResult<UserProfile>
    suspend fun clearToken()
}
